package org.ifg.bn.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 返回值信息装载工具
 * @author ifgvbn
 *
 */
public class ObjMessage {
	private String message = "";

	private String messageFlag = "";

	private Map messageMap = new HashMap();

	private List messageList = new ArrayList();

	private String businesskey = "";

	public ObjMessage() {}

	public String getBusinesskey() {
		return this.businesskey;
	}

	public void setBusinesskey(String businesskey) {
		this.businesskey = businesskey;
	}

	public ObjMessage(String message){
	    this.message = message;
	  }

	public ObjMessage(String flag, String msg){
	    setFlagMessage(flag, msg);
	}

	public ObjMessage(List messageList) {
		this.messageList = messageList;
	}

	public ObjMessage(Map messageMap) {
		this.messageMap = messageMap;
	}

	public void setFlagMessage(String flag, String msg) {
		setMessageFlag(flag);
		setMessage(msg);
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMessageFlag() {
		return this.messageFlag;
	}

	public void setMessageFlag(String messageFlag) {
		this.messageFlag = messageFlag;
	}

	public Map getMessageMap() {
		return this.messageMap;
	}

	public void setMessageMap(Map messageMap) {
		this.messageMap = messageMap;
	}

	public List getMessageList() {
		return this.messageList;
	}

	public void setMessageList(List messageList) {
		this.messageList = messageList;
	}
}